\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\tx5860\tx6400\tx6920\tx7460\tx8000\tx8540\f0\b0\i0\ulnone\fs28\fc0\cf0 Q: How can I tell
\pard\fc0\cf0 InterfaceBuilder
\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\tx5860\tx6400\tx6920\tx7460\tx8000\tx8540\fc0\cf0 to link against more libraries?\
\
A: In
\b Release 2
\b0 , this is easy. Select Other libs in the Project inspector, and click Add... A panel opens allowing you to add a library. InterfaceBuilder lists added libraries in alphabetical order in the Project Inspector's browser. If necessary, you can change their order by control-dragging the library names. If the Library doesn't reside in /usr/lib you also have to add a Makefile.preamble file to the project with the variable OTHER_LIBS set to the library's directory. For example\
\b0 , you need to have a file called Makefile.preamble in addition to the Makefile. In this file, assign a value to the variable OTHER_LIBS. For example:\
The value of LIBS will be the library listed above plus NeXT_s and sys_s, which are linked in by the Makefile.\
\
In
\b Release 3
\b0 , first open your project folder (PB.project) via ProjectBuilder, then select the Libraries folder. \
Select Add from the Files menu. A panel opens allowing you to add a Library. Note that you also need to add a Makefile.preamble with the OTHER_LIBS option to your project as described for
\b Release 2
\b0 , if your Library doesn't reside in /usr/lib.\
\
QA269\
\
\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0\cf0 Valid for 1.0, 2.0, 3.0\